home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
fade into you
/
getting there
/
Apps
/
MOO-1.7.6.src
/
inc
/
ppc.h
< prev
next >
Wrap
Text File
|
1994-11-02
|
847b
|
35 lines
#ifndef __PPC__
#define __PPC__
#ifndef __TYPES__
#include <Types.h>
#endif
#ifndef __PPCTOOLBOX__
#include <PPCToolBox.h>
#endif
#define ENTRYPOINT
#ifdef __cplusplus
extern "C" {
#endif
ENTRYPOINT OSErr PPC_StartNetwork(StringPtr networkName, Boolean visible);
ENTRYPOINT OSErr PPC_Listen();
ENTRYPOINT OSErr PPC_TestForSession();
ENTRYPOINT void* PPC_AcceptSession();
ENTRYPOINT void PPC_RejectSession();
ENTRYPOINT void PPC_GetConnectionInformation(void * sh, char * dataP);
ENTRYPOINT OSErr PPC_EndSession(void * sh);
ENTRYPOINT void* PPC_StartSessionWith(LocationNameRec *, PortInfoRec *, Str32);
ENTRYPOINT OSErr PPC_WriteToSession(void * sh, char * dataP, long * length, int eof);
ENTRYPOINT OSErr PPC_ReadFromSession(void * sh, char * dataP, long * length);
ENTRYPOINT OSErr PPC_StopNetwork();
#ifdef __cplusplus
}
#endif
#endif